package com.assa.jco.server;

import org.junit.Test;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;

import com.sap.conn.jco.JCo;


@ContextConfiguration(locations = { "classpath:com/assa/spring/config/testconfig.xml" })
public class JCOServerTestCase extends AbstractJUnit4SpringContextTests {

	@Test
	public void testStarServer() {
		JCo.setTrace(10, "/Users/hgzapata");
		JCOServer server = (JCOServer) this.applicationContext.getBean("jcoServer");
		assert(server != null);
		server.starServer();
		while(true);
	}

}
